//package netty.netty3;
//
//import org.jboss.netty.channel.ChannelHandlerContext;
//import org.jboss.netty.channel.ExceptionEvent;
//import org.jboss.netty.channel.MessageEvent;
//import org.jboss.netty.channel.SimpleChannelHandler;
//
///**
// * Created by IntelliJ IDEA.
// * User: liuliwei
// * Date: 2017-09-22
// * Time: 下午3:24
// * Description: ${description}
// */
//public class DiscardServerHandler extends SimpleChannelHandler{
//    @Override
//    public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) throws Exception {
//        super.messageReceived(ctx, e);
//
//    }
//
//    @Override
//    public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception {
//        e.getCause().printStackTrace();
//        e.getChannel().close();
//    }
//}
